require 'syllable_counter/count'
require 'syllable_counter/rules'
require 'syllable_counter/exceptions'

module SyllableCounter
  module Factory
    def self.english
      count(exceptions.english)
    end

    def self.count(exceptions={})
      ::SyllableCounter::Count.new(rules, exceptions)
    end

    def self.rules
      ::SyllableCounter::Rules.new
    end

    def self.exceptions
      ::SyllableCounter::Exceptions
    end
  end
end
